#include "stdafx.h"
#include "Stone.h"
#include <cstdlib>
#include <ctime>

#define SPEED -4

Stone::Stone(LPCTSTR fileName, int x, int y, int w)
{
	stoneImg.Load(fileName);
	stoneRect.left = x;
	stoneRect.right = x + w;
	stoneRect.top = y;
	stoneRect.bottom = y + 600;
}


Stone::~Stone()
{
}

void Stone::Move()
{
	stoneRect.OffsetRect(SPEED, 0);
}
